package com.mmp.main.servlet.device;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.mmp.common.servlet.BasicServlet;
import com.mmp.main.entity.LookupScrappingReason;

public class DeviceScrappingDisplayServlet extends BasicServlet {

	public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

		request.setAttribute("reasons", dbm.findAll(LookupScrappingReason.class));
		forward(request, response, "device/DeviceScrapping.jsp");
	}
}
